package com.virus.service.impl;

import com.virus.bean.Student;
import com.virus.mapper.StudentMapper;
import com.virus.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentServiceImpl implements StudentService {

    @Autowired
    private StudentMapper studentDao;

    @Override
    public List<Student> getList() {
        return studentDao.getList();
    }
}
